package com.controller;

import com.mapper.F_inforDao;
import com.service.F_inforService;
import com.util.C_infor;
import com.util.F_infor;
import com.util.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
public class F_inforController {
    @Resource
    private F_inforService f_inforService;
    @GetMapping("/see_fcompany_infor")
    @ResponseBody
    public F_infor See_fcompany_infor(@RequestParam String pId){
        return f_inforService.see(pId);
    }
    @RequestMapping("/change_fcompany")
    public Result<?> ChangeInfor(@RequestBody F_infor f_infor){
        return f_inforService.changInfor(f_infor);
    }
}
